<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script>var ws = new WebSocket("ws://192.168.8.25:36500");ws.onopen = function (e) {console.log("websocket页面监听已开启")};ws.onmessage = function (res) {if (res.data === "reload") {location.reload();}};window.onbeforeunload = function () {ws && ws.close();};</script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="./lib/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="./assets/index.css">
</head>
<body>
    <div id="app">
        <div class="region browser-title">
            <div class="browser-title-labels no-region">
                <div class="browser-label">
                    <span><i class="fa fa-circle"></i></span>
                    <span>标题</span>
                    <span><i class="fa fa-times"></i></span>
                </div>
            </div>
            <div class="browser-title-control">
                <span class="no-region browser-mins"><i class="fa fa-window-minimize"></i></span>
                <span class="no-region browser-maxs"><i class="fa fa-window-restore"></i></span>
                <span class="no-region browser-closes"><i class="fa fa-close"></i></span>
            </div>
        </div>
        <div class="browser-menu"></div>
        <webview id="foo" src="https://www.baidu.com/" nodeIntegration></webview>
    </div>
</body>
</html>